package com.example.hand.springboot_demo.app.service.impl;


import com.example.hand.springboot_demo.app.service.UnionUserRoleService;
import com.example.hand.springboot_demo.infra.mapper.UnionUserRoleMapper;
import domain.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UnionUserRoleServiceImpl implements UnionUserRoleService {

    @Autowired
    UnionUserRoleMapper unionUserRoleMapper;

    @Override
    public List<User> unionUserRoleSelect(User user) {
        return unionUserRoleMapper.unionUserRoleSelect(user);
    }
}
